﻿<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=10,IE=9,IE=8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
	<title><?php echo $type_seo['type_name']?> - php技术博客</title>
	<meta name="keywords" content="<?php echo $type_seo['type_keywords']?>">
	<meta name="description" content="<?php echo $type_seo['type_description']?>">
	<link rel='dns-prefetch' href='//cdn.bootcss.com' />
	<link rel='dns-prefetch' href='//s.w.org' />
	<link rel='stylesheet' id='style-css'  href='__HOME__/style/style.css' type='text/css' media='all' />
	<link rel='stylesheet' id='toc-screen-css'  href='__HOME__/style/screen.min.css' type='text/css' media='all' />
	<style>.article-content{font-size: 14px;}@media (max-width:640px){.article-content{font-size:16px}}.navbar .logo{width:160px}@media (max-width: 979px){.navbar .logo{width:100%}}</style><!--[if lt IE 9]><script src="__HOME__/js/html5.js"></script><![endif]-->
</head>
<body class="archive category category-php category-1">
<div class="navbar-wrap">
	{include file="public:head" /}
<header class="header"></header>
<section class="container">
	<div class="content-wrap">
	<div class="content">
		<header class="archive-header"> 
			<h1><a href="/category/<?php echo $type_seo['id']?>"><?php echo $type_seo['type_name']?></a></h1>
		</header>
		<?php foreach($article as $v){?>
		<article class="excerpt excerpt-nothumbnail">
			<header><h2><a href="/article/<?php echo $v['id']?>" title="<?php echo $v['title']?>"><?php echo $v['title']?></a></h2></header>
			<p>
				<span class="muted">
				<i class="icon-time icon12"></i> <?php echo formatDate($v['create_time'])?> (<?php echo date('Y-m-d',$v['create_time'])?>)</span>	<span class="muted">
				<i class="icon-eye-open icon12"></i> <?php echo $v['reading_num']?>浏览</span>	<span class="muted">
				<i class="icon-eye-open icon12"></i> <?php echo $v['laud_num']?>点赞</span>	<span class="muted">
				<i class="icon-comment icon12"></i> <a href="/article/<?php echo $v['id']?>#respond"><span id = "sourceId::<?php echo $v['id']?>" class = "cy_cmt_count" ></span><script id="cy_cmt_num" src="https://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyryTyLri"></script>评论</a></span>
			</p>
			<p class="note"><?php echo $v['introduction']?></p>
		</article>
		<?php } ?>
		<div class="pagination">
			<?php echo $page?>
		</div>
	</div>
</div>

	<aside class="sidebar">
		{include file="public:right" /}
	</aside>

</section>
	{include file="public:footer" /}
</div>
</body>
</html>